package com.blockmeta.bbs.immodule.net;

import java.util.HashMap;

/**
 * Created by author on 2019/3/14.
 */

public class ParamsBuilder {

    String url;
    HashMap<String, String> parmsMap;
    HashMap<String, String> headerMap;

    public ParamsBuilder addUrl(String url) {
        this.url = url;
        return this;
    }

    public ParamsBuilder addParms(HashMap<String, String> parms) {
        this.parmsMap = parms;
        return this;
    }

    public ParamsBuilder addHeader(HashMap<String, String> addHeaderMap) {
        this.headerMap = addHeaderMap;
        return this;
    }
}
